package com.qidian.tcba.auth.dao;



import com.qidian.tcba.auth.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthUserMapper {
    int deleteByPrimaryKey(int id);

    int insert(UserEntity record);

    UserEntity selectByPrimaryKey(int id);

    List<UserEntity> selectAll();

    int updateByPrimaryKey(UserEntity record);

    UserEntity selectByUsername(String username);

}